package com.eric.service;

import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.CompanyInfoDTO;
import com.eric.domain.vo.CompanyInfoVO;
import com.mybatisflex.core.service.IService;
import com.eric.domain.po.CompanyInfo;

/**
 *  服务层。
 *
 * @author eric.deng
 * @since 2025-03-05
 */
public interface CompanyInfoService extends IService<CompanyInfo> {

    SaResult saveOneService(CompanyInfoVO companyInfoVO);

    SaResult updateByIdService(CompanyInfoDTO companyInfoDTO);

    SaResult getListByPageService(Integer cur, Integer pageSize);

    SaResult getCompanyInfoListByNameService(String name, Integer cur, Integer pageSize);

    SaResult getCompanyInfoListByNameCountService(String name);
}
